package com.ysd.shiro.mapper;


import org.apache.ibatis.annotations.Mapper;

import com.ysd.shiro.entity.Menu;

import java.util.List;

@Mapper
public interface MenuMapper {

    int delete(Long menuId);

    int insert(Menu menu);

    Menu findById(Long menuId);

    int updateByParams(Menu menu);

    List<Menu> listMenuByRoleId(Integer integer);

}